package com.guodu.service;

import java.io.File;
import java.util.List;

import com.guodu.entity.CliqueRed;
import com.guodu.entity.CliqueRedStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.CliqueRedQueryVo;
import com.guodu.vo.CliqueRedVo;

public interface CliqueRedService {
	int findCount(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo);
	List<CliqueRedVo>  findAll(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo,int pageSize,int curPage);
	List<CliqueRed> downLoad(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo);
	public void examinAll(CliqueRedQueryVo cliqueRedQueryVo,Units units,UserInfo userInfo);
	public void save(CliqueRed cliqueRed);
	public void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	void delByIds(String[] ids,String[] fjurls);
	
	public CliqueRed findById(String id);
	
	public void update(CliqueRed cliqueRed,File reportFile,String reportFileFileName,Long userId);
	
	public List<CliqueRedStatus> findStatus(String id);
	
	public void deleteById(String id,String fileUrl);
}
